package entity;

public class Fix {
	private int id;
	private  Dormitory dormitory;
	private String description;
	private String fixState;
	
	public Fix(){
		
	}

	public Fix( Dormitory dormitory, String description, String fixState) {
		//super();
		this.dormitory = dormitory;
		this.description = description;
		this.fixState = fixState;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Dormitory getDormitory() {
		return dormitory;
	}

	public void setDormitory(Dormitory dormitory) {
		this.dormitory = dormitory;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getFixState() {
		return fixState;
	}

	public void setFixState(String fixState) {
		this.fixState = fixState;
	}

	@Override
	public String toString() {
		return "Fix [id=" + id + ", dormitory=" + dormitory + ", description="
				+ description + ", fixState=" + fixState + "]";
	}

	
	
}
